home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4867 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1000 b 

  1. Path: news.upv.es!usr22
  2. From: convidat@upvnet.upv.es (Usuario Invitado)
  3. Newsgroups: comp.lang.c++
  4. Subject: How Visual C++ can detect a mouse click or a keypressed
  5. Date: 1 Feb 1996 12:42:15 GMT
  6. Organization: UPV
  7. Message-ID: <4eqcf7$gro@maia.cc.upv.es>
  8. NNTP-Posting-Host: usr22.afi.upv.es
  9. X-Newsreader: NoticiasUPV Version 1.0 Beta #3
  10.  
  11. Hello! I'm a user of Visual C++ and I've a problem. I'm programming with 
  12. AppWizard. I'd like to Know how can I detect a mouse click or a keypressed 
  13. inside a message handler. The problem is that when Visual C++ is executing the 
  14. code of a message handler it can't detect new messages. In my application, I'm 
  15. in a message handler and I'm in a infinte loop and I want to exit from it when 
  16. the user desires it. In this message handler I can't detect anything from the 
  17. keyboard or the mouse. The <stdio.h> functions <iostream.h> functions don't 
  18. make anything. I've tried with interrupts but either the computer ignores it 
  19. or it block.
  20.  
  21.  
  22. Help me please! Thank you.
  23.